package com.lgb.Service;

import com.lgb.pojo.Pictures;
import com.lgb.vo.PicturesQuery;

import java.util.List;

public interface PicturesService {

    //新增
    Pictures savePictures(Pictures pictures);

    //获取全部数据
    List<Pictures> getAllPictures();

    //获取全部数据并转化成PicturesQuery类型
    List<PicturesQuery> getAllPicturesQuery();

    //获取指定id的picture并转化成PicturesQuery类型
    PicturesQuery getPictureQuery(Long id);

    //删除
    void deletePictures(Long id);
}
